import assessCheckApi from './api'
import { axios } from '@/utils/request'

// 申请事项会议-删除
export function deleteSqsxHy(params){
  return axios({
    url: assessCheckApi.deleteSqsxHy,
    method:'delete',
    params:{...params},
    url_1:'outside',
  })
}
// 申请事项会议-添加
export function addSqsxHy(data){
  return axios({
    url: assessCheckApi.addSqsxHy,
    method:'post',
    data:data,
    url_1:'outside',
  })
}
// 申请事项会议-更新
export function updateSqsxHy(data){
  return axios({
    url: assessCheckApi.updateSqsxHy,
    method:'post',
    data:data,
    url_1:'outside',
  })
}
// 申请事项会议明细-列表查询
export function querySqsxHymxListByHyId(params){
  return axios({
    url: assessCheckApi.querySqsxHymxListByHyId,
    method:'get',
    params:{...params},
    url_1:'outside',
  })
}
// ---------------

// 申请事项会议明细-添加
export function addSqsxHymx(data){
  return axios({
    url: assessCheckApi.addSqsxHymx,
    method:'post',
    data:data,
    url_1:'outside',
  })
}
// 申请事项会议明细-更新
export function updateSqsxHymx(data){
  return axios({
    url: assessCheckApi.updateSqsxHymx,
    method:'post',
    data:data,
    url_1:'outside',
  })
}
// 申请事项会议明细-删除
export function deleteSqsxHymx(params){
  return axios({
    url: assessCheckApi.deleteSqsxHymx,
    method:'delete',
    params:{...params},
    url_1:'outside',
  })
}
//-----------
// 申请事项会议-打印信息
export function querySqsxHyPrintInfo(params){
  return axios({
    url: assessCheckApi.querySqsxHyPrintInfo,
    method:'get',
    params:{...params},
    url_1:'outside',
  })
}

export function sqsxYwxxqueryHyqdPrintInfo(params){
  return axios({
    url: assessCheckApi.sqsxYwxxqueryHyqdPrintInfo,
    method:'get',
    params:params,
    url_1:'outside',
  })
}
export function uploadSqsxHyQmFile(params){
  return axios({
    url: assessCheckApi.uploadSqsxHyQmFile,
    method:'post' ,
    data:params,
    url_1:'outside',
  })
}


export function spcySqsxXpjlsendYzm(params){
  return axios({
    url: assessCheckApi.spcySqsxXpjlsendYzm,
    method:'post' ,
    data:params,
    url_1:'outside',
  })
}
export function spcySqsxXpjlverifyPhoneSfczxt(params){
  return axios({
    url: assessCheckApi.spcySqsxXpjlverifyPhoneSfczxt,
    method:'get',
    params:params,
    url_1:'outside',
  })
}
export function spcySqsxXpjlhySubmit(params){
  return axios({
    url: assessCheckApi.spcySqsxXpjlhySubmit,
    method:'post' ,
    data:params,
    url_1:'outside',
  })
}
export function spcySqsxXpjlverifyYzmInit(params){
  return axios({
    url: assessCheckApi.spcySqsxXpjlverifyYzmInit,
    method:'post' ,
    data:params,
    url_1:'outside',
  })
}

export function spcySqsxXpjlqueryWlyctsmContent(params){
  return axios({
    url: assessCheckApi.spcySqsxXpjlqueryWlyctsmContent,
    method:'get',
    params:params,
    url_1:'outside',
  })
}
export function spcySqsxXpjlqueryJcycnsContent(params){
  return axios({
    url: assessCheckApi.spcySqsxXpjlqueryJcycnsContent,
    method:'get',
    params:params,
    url_1:'outside',
  })
}
export function spcySqsxXpjlqueryXcjcjlContent(params){
  return axios({
    url: assessCheckApi.spcySqsxXpjlqueryXcjcjlContent,
    method:'get',
    params:params,
    url_1:'outside',
  })
}

export function jcylxdjcjgetUserSignPhotoLink(params){
  return axios({
    url: assessCheckApi.jcylxdjcjgetUserSignPhotoLink,
    method:'get',
    params:params,
    url_1:'outside',
  })
}
export function jcylxdjcjuploadMyQm(params){
  return axios({
    url: assessCheckApi.jcylxdjcjuploadMyQm,
    method:'post' ,
    data:params,
    url_1:'outside',
  })
}

export function sqsxYwxxHtmlToFileByXcjchy(params){
  return axios({
    url: assessCheckApi.sqsxYwxxHtmlToFileByXcjchy,
    method:'post',
    data:params,
    url_1:'outside',
  })
}
export function spcySqsxXpjldownfafj(params){
  return axios({
    url: assessCheckApi.spcySqsxXpjldownfafj,
    method:'get',
    params:params,
    url_1:'outside',
  })
}

export function jcyfybxddeleteBxrymxById(params){
  return axios({
    url: assessCheckApi.jcyfybxddeleteBxrymxById,
    method:'DELETE' ,
    params:params,
    url_1:'outside'
  })
}

export function sqsxYwxxsqsxhywc(params){
  return axios({
    url: assessCheckApi.sqsxYwxxsqsxhywc,
    method:'get',
    params:params,
    url_1:'outside',
  })
}
export function mydqueryMydState(params){
  return axios({
    url: assessCheckApi.mydqueryMydState,
    method:'get',
    params:params,
    url_1:'outside',
  })
}


export function sqsxYwxxverifyGjry(params){
  return axios({
    url: assessCheckApi.sqsxYwxxverifyGjry,
    method:'get',
    params:params,
    url_1:'outside',
  })
}

export function spcygetXcjcqxbgFile(params){
  return axios({
    url: assessCheckApi.spcygetXcjcqxbgFile,
    method:'get',
    params:params,
    url_1:'outside',
  })
}

export function openFileReadOnly(parameter) {
  return axios({
    url:assessCheckApi.openFileReadOnly,
    method: 'get',
    params: parameter,
    url_1:'outside'
  })
}

export function spcySqsxWjjlgetLocalFileById(params){
  return axios({
    url: assessCheckApi.spcySqsxWjjlgetLocalFileById,
    method:'get' ,
    params:params,
    url_1:'outside',
    responseType: 'arraybuffer'
  })
}

export function spcySqsxXpjlqueryRcJxDbList(parameter) {
  return axios({
    url:assessCheckApi.spcySqsxXpjlqueryRcJxDbList,
    method: 'get',
    params: parameter,
    url_1:'outside'
  })
}

export function spcySqsxXpjlqueryPjrJcyHpjlList(parameter) {
    return axios({
      url:assessCheckApi.spcySqsxXpjlqueryPjrJcyHpjlList,
      method: 'get',
      params: parameter,
      url_1:'outside'
    })
  }

export function spcySqsxXpjlupdateJcyhpPj(params){
    return axios({
        url: assessCheckApi.spcySqsxXpjlupdateJcyhpPj,
        method:'post' ,
        data:params,
        url_1:'outside',
    })
}

export function spcySqsxXpjlrchpSubmit(params){
    return axios({
        url: assessCheckApi.spcySqsxXpjlrchpSubmit,
        method:'post' ,
        data:params,
        url_1:'outside',
    })
}
